home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / c / win_clp.com / WINCLIP.H < prev   
Encoding:
C/C++ Source or Header  |  1991-01-23  |  663 b   |  23 lines

  1. /*
  2. WINCLIP.H
  3. */
  4.  
  5. /* predefined clipboard formats */
  6. typedef enum { CF_TEXT=1, CF_BITMAP, CF_METAFILEPICT, CF_SYLK, 
  7.     CF_DIF,    CF_TIFF, CF_OEMTEXT } CF_FORMAT;
  8.  
  9. /* GetDeviceCaps index */
  10. #define TECHNOLOGY    2
  11. #define HORZRES       8     /*  Horizontal width in pixels        */
  12. #define VERTRES       10    /*  Vertical   width in pixels        */
  13. #define NUMCOLORS     24
  14.  
  15. int WinOldApVersion(int *maj, int *min);
  16. unsigned GetDeviceCaps(unsigned cap);
  17. void OpenClipboard(void);
  18. unsigned long GetClipboardSize(CF_FORMAT format);
  19. char far *GetClipboardData(CF_FORMAT format);
  20. void CloseClipboard(void);
  21. void FreeClipboardData(char far *buf);
  22.  
  23.